package com.itheima1;

import com.itheima1.controller.BookController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringbootDemo01Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpringbootDemo01Application.class, args);
        BookController bean = run.getBean(BookController.class);
        System.out.println(bean+" ");
    }

}
